


****** Table 4: Rights and Protecting Human Rights in 2017 ****** 

use "Data_Duties_Master.dta", clear

label var duties_total "# of Duties"
label var rights_total "# of Rights"
label var theta_mean_Fariss "Human Rights Score"

reg theta_mean_Fariss  duties_total  if year==2017
	outreg2 duties_total rights_total  using "Table4.xls", nocons replace excel dec(3)

reg theta_mean_Fariss  duties_total rights_total  if year==2017
	outreg2 duties_total rights_total  using "Table4.xls", nocons append excel dec(3)

reg theta_mean_Fariss  duties_total i.year i.ccode if year<2018
	outreg2 duties_total rights_total  using "Table4.xls", nocons append excel dec(3) keep(duties_total)

reg theta_mean_Fariss  duties_total rights_total i.year i.ccode if year<2018
	outreg2 duties_total rights_total  using "Table4.xls", nocons append excel dec(3) keep(duties_total rights_total)

	
*** Marginal Effects 
	
reg theta_mean_Fariss  duties_total rights_total  if year==2017
	margins, at(duties_total=(0(1)10))
	

reg theta_mean_Fariss  duties_total rights_total i.year i.ccode if year<2018
	margins, at(duties_total=(0(1)10))
	
summarize duties_total  if year==2017, detail


